set backupFilename=C:\wamp\www\butterfly\application\database\portal_dev_%DATE:~0,2%_%DATE:~3,2%_%DATE:~6,4%.sql

echo %backupFilename%


C:\wamp\bin\mysql\mysql5.5.24\bin\mysqldump -u root -h localhost  -B portal_dev  > %backupFilename%
